﻿


    <Themeable(True), ToolboxData("<{0}:YCRadioButton runat=""server"" />")> _
    Public Class YCRadioButton
        Inherits RadioButton


        Public Overrides Property GroupName As String
            Get
                Return Me.Attributes("GroupName")
            End Get
            Set(ByVal value As String)
                MyBase.GroupName = value
                MyBase.Attributes.Add("GroupName", value)
            End Set
        End Property

        Protected Overrides Sub OnPreRender(ByVal e As System.EventArgs)
            MyBase.OnPreRender(e)
            'Me.Attributes.Add("onclick", "$('span[GroupName=""" & GroupName & """]').each(function(index) {  });")
        End Sub

    End Class


